#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QTcpSocket>
#include <QTimer>
#include "new_window.h"
#include <QVector>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
    QTcpSocket* socket;
    QTimer* timer;
    new_window* new_win;
    QVector<QString> vec;
    QVector<QString> vec1;


public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    
private slots:
    void on_send_btn_clicked();

    void ready_read(void);

    void on_conncet_buf_clicked();

    void on_search_btn_clicked();

    void on_pushButton_clicked();

    void on_ganme_pushButton_clicked();

    void on_commandLinkButton_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

    void on_pushButton_4_clicked();

private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
